#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#

#
# Copyright (c) 2016, 2019 by Delphix. All rights reserved.
# Copyright 2020 Joyent, Inc.
# Copyright 2023 MNX Cloud, Inc.
#

#
# These variables are used by zfstest.ksh to constrain which utilities
# may be used by the suite. The suite will create a directory which is
# the only element of $PATH and create symlinks from that dir to the
# binaries listed below.
# Please keep the contents of each variable sorted for ease of reading
# and maintenance.
#
export USR_BIN_FILES='awk
    base64
    basename
    bc
    bunzip2
    bzcat
    cat
    cd
    chgrp
    chmod
    chown
    cksum
    cmp
    compress
    coreadm
    cp
    cpio
    cut
    date
    dd
    df
    diff
    digest
    dircmp
    dirname
    du
    echo
    egrep
    expr
    false
    file
    find
    fio
    getent
    grep
    head
    hostid
    hostname
    id
    iostat
    isainfo
    kill
    ksh
    kstat
    ln
    logname
    ls
    md5sum
    mdb
    mkdir
    mktemp
    mpstat
    mv
    nawk
    od
    pack
    pagesize
    passwd
    pax
    pfexec
    pgrep
    pkill
    ppriv
    print
    printf
    ps
    pwd
    python
    raidz_test
    readlink
    rm
    rmdir
    rsh
    runat
    sed
    seq
    sha256sum
    shuf
    sleep
    sort
    stat
    strings
    su
    sudo
    sum
    svcs
    sync
    tail
    tee
    timeout
    touch
    tr
    true
    truncate
    umask
    uname
    uncompress
    unpack
    vmstat
    wait
    wc
    xargs
    zlook
    zonename'

export USR_SBIN_FILES='arp
    clri
    dtrace
    dumpadm
    ff
    format
    fsck
    fsdb
    fsirand
    fstyp
    getmajor
    groupadd
    groupdel
    groupmod
    labelit
    lockfs
    lofiadm
    mkfile
    mknod
    ncheck
    newfs
    ping
    prtvtoc
    psrinfo
    quotaon
    share
    svcadm
    swap
    tar
    tunefs
    ufsdump
    ufsrestore
    unshare
    useradd
    userdel
    usermod
    zdb
    zhack
    zinject
    zoneadm
    zonecfg
    zstreamdump'

export SBIN_FILES='fdisk
    mount
    swapadd
    umount
    umountall
    zfs
    zpool'

export ZFSTEST_FILES='btree_test
    chg_usr_exec
    devname2devid
    dir_rd_update
    dos_ro
    file_check
    file_trunc
    file_write
    getholes
    has_unmap
    largest_file
    libzfs_input_check
    mkbusy
    mkfiles
    mkholes
    mktree
    mmapwrite
    randfree_file
    randwritecomp
    readmmap
    rename_dir
    rm_lnkcnt_zero_file'
